<?php
    $to = "truonganhkiet7765@gmail.com";
    $subject = "Test mail";
    $message = "Email này được gửi từ website: gondaica";
    $from = "truonganhkiet7765@gmail.com";
    $headers = "Content-type: text/html; charset=utf-8\r\nFrom: $from\r\nReply-to: $from";
	
    if( mail($to,$subject,$message,$headers)) echo "Email sent!";
	else echo "error!";
?>